package com.mju;

import com.mju.feign.clients.ProductClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
// 注入ProductClient
@EnableFeignClients(basePackages = "com.mju.feign.clients")
@Import({
        com.mju.config.MPConfig.class
})
public class FavoritesServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(FavoritesServiceApplication.class, args);
    }
}
